package cn.team.service.impl;

import cn.team.bean.User;
import cn.team.dao.UserMapper;
import cn.team.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: 官宝星
 * @Date: 2019/10/23 15:46
 * @Version 1.0
 * @描述：
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User fingUserById(Integer id) {
        return userMapper.findUserById(id);
    }
}
